:root {
    --white: #fff;
    --black: #000;
    --bg: #f8f8f8;
    --grey1: #999;
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --wrapper: 100%;
    --blue: #00b0ff;
    --grey2: #d2d2d2;
}
.KeFu .kefu_button {
    position: fixed;
    top: 80%;
    right: 20px;
    width: 50px;
    height: 50px;
    display: block;
    z-index: 1000;
    animation: pulse 2s infinite;
    border-radius: 50%;
    cursor: pointer;
}
.KeFu .popover {
    position: fixed;
    word-break: break-all;
}

/*客服状态*/
#kefu_csr_status {
    display: inline-block;
}
/*客服状态end*/

.KeFu .modal-body {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    background-color: var(--white);
}

.KeFu .modal-body .kefu-right {
    flex: 8;
    height: 650px;
    border: 1px solid var(--light);
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
}
.KeFu .modal-body .kefu-left {
    flex: 4;
    height: 650px;
    border: 1px solid var(--light);
    border-right: none;
    word-wrap: break-word;
    overflow: hidden;
    background-color: var(--white);
}

.KeFu .modal-body .kefu-right .top {
    width: 100%;
    height: 47px;
    padding: 15px 29px;
    background-color: #eceff1;
}
.KeFu .modal-body .kefu-right .top span {
    font-size: 15px;
    color: var(--grey1);
    vertical-align: middle;
}
.KeFu .modal-body .kefu-right .top span .name {
    color: var(--dark);
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}
.KeFu .modal-body .kefu-right .top span .top_span {
    font-family: 'Source Sans Pro', sans-serif;
    margin-left: 10px;
    color: var(--blue);
    font-size: 13px;
    cursor: pointer;
}
#kefu_error {
    font-family: 'Source Sans Pro', sans-serif;
    margin-left: 10px;
    color: #e64340;
    font-size: 13px;
}
.KeFu .modal-body .kefu-right .chat .status {
    position: relative;
    float: right;
    width: 100%;
    /*margin: 20px 0;*/
    margin-bottom: 10px;
    text-align: center;
}
.KeFu .modal-body .kefu-right .chat .status span {
    font-size: 12px;
    display: inline-block;
    background: #ccc;
    color: #fff;
    line-height: 12px;
    border-radius: 5px;
    padding: 3px 10px;
}
.KeFu .modal-body .kefu-right .chat {
    display: flex;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0;
    height: calc(100% - 158px);
    justify-content: flex-end;
    flex-direction: column;
}
.KeFu .modal-body .kefu-right .chat_scroll {
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    box-sizing: border-box;
}
.chat-records-grow {
    flex-grow: 1;
    flex-shrink: 1;
}
.KeFu .modal-body .kefu-right .VivaTimeline {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    box-sizing: border-box;
    display: none;
}
.VivaTimeline dl {
    position: relative;
    top: 0;
    padding: 20px 0;
    margin: 0
}

.VivaTimeline dl:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 100;
    width: 2px;
    margin-left: -1px;
    content: '';
    background-color: #ccd1d9
}
.VivaTimeline dl dt {
    position: relative;
    top: 30px;
    z-index: 200;
    width: 120px;
    padding: 3px 5px;
    margin: 0 auto 30px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    background-color: #aab2bd;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px
}

.VivaTimeline dl dd {
    position: relative;
    z-index: 200
}
.VivaTimeline dl dd .circ {
    position: absolute;
    top: 40px;
    left: 50%;
    z-index: 200;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    background-color: #4fc1e9;
    border: 4px solid #f5f7fa;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%
}
.VivaTimeline dl dd .time {
    position: absolute;
    top: 31px;
    left: 50%;
    display: inline-block;
    width: 100px;
    padding: 10px 20px;
    color: #4fc1e9
}
.VivaTimeline dl dd .events {
    position: relative;
    width: 47%;
    margin-top: 31px;
    background-color: #CCC;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px
}

.VivaTimeline dl dd .events .events-header {
    min-height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.VivaTimeline dl dd .events .events-body {
    overflow: hidden;
    zoom: 1;
    background-color: #EEE;
    padding: 10px 10px;
}
.VivaTimeline dl dd.pos-right .time {
    margin-left: -100px;
    text-align: right;
}
.VivaTimeline dl dd.pos-right .events {
    float: right
}
.VivaTimeline dl dd.pos-right .events:before {
    left: -12px;
    border-color: transparent #CCC transparent transparent
}
.VivaTimeline dl dd.pos-left .time {
    margin-left: 0;
    text-align: left
}

.VivaTimeline dl dd.pos-left .events {
    float: left
}

.VivaTimeline dl dd.pos-left .events:before {
    right: -12px;
    border-color: transparent transparent transparent #CCC
}
/*用户名片*/
.KeFu .modal-body #kefu_user_card {
    width: 80%;
    margin: 0 auto 100px;
    display: none;
}
.KeFu .modal-body #kefu_user_card input[readonly="readonly"] {
    border: none;
}
/*用户名片end*/

.KeFu .modal-body .kefu-right .VivaTimeline::-webkit-scrollbar, .KeFu .modal-body .kefu-right .chat_scroll::-webkit-scrollbar {
    width: 4px;
}
.KeFu .modal-body .kefu-right .VivaTimeline::-webkit-scrollbar-track, .KeFu .modal-body .kefu-right .chat_scroll::-webkit-scrollbar-track {
    background-color: #fff;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
.KeFu .modal-body .kefu-right .VivaTimeline::-webkit-scrollbar-thumb, .KeFu .modal-body .kefu-right .chat_scroll::-webkit-scrollbar-thumb {
    background-color: #e6e6e6;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
.KeFu .modal-body .kefu-right .chat_scroll .bubble img {
    max-width: 300px !important;
    height: auto !important;
    vertical-align: bottom;
}
.popover .popover-content .emoji {
    height: 30px;
    width: 30px;
}
/*快捷回复*/
.KeFu .modal-body .kefu_fast_reply_list {
    position: relative;
}
#kefu_fast_reply_list {
    position: absolute;
    bottom: 0px;
    margin-bottom: 0px;
    right: 15px;
    padding: 8px;
    border: 1px solid var(--light);
    width: 30%;
    background-color: #eceff1;
    display: none;
    border-radius: 5px;
    background: #fff;
    z-index: 1070;
    -webkit-box-shadow: #666 0px 0px 10px;
    -moz-box-shadow: #666 0px 0px 10px;
    box-shadow: #666 0px 0px 10px;
    cursor: pointer;
}
/*快捷回复end*/

/*表情*/
.KeFu .modal-body .kefu_emoji {
    position: relative;
}
.KeFu .modal-body #kefu_emoji {
    position: absolute;
    bottom: 0px;
    left: 10px;
    padding: 8px;
    border: 1px solid var(--light);
    width: 70%;
    background-color: #eceff1;
    display: none;
    border-radius: 5px;
    background: #fff;
    z-index: 1070;
    -webkit-box-shadow: #666 0px 0px 10px;
    -moz-box-shadow: #666 0px 0px 10px;
    box-shadow: #666 0px 0px 10px;
    cursor: pointer;
}
#kefu_emoji img {
    height: 48px;
    width: 48px;
    padding: 4px;
}
#kefu_emoji img:hover {
    border: 1px solid #f2f2f2;
}
/*表情end*/
/*链接输入框*/
.KeFu .modal-body .kefu_link_form {
    position: relative;
}
.KeFu .modal-body #kefu_link_form {
    position: absolute;
    bottom: 0px;
    left: 10px;
    padding: 8px;
    border: 1px solid var(--light);
    width: 70%;
    background-color: #eceff1;
    display: none;
    border-radius: 5px;
    background: #fff;
    z-index: 1070;
    -webkit-box-shadow: #666 0px 0px 10px;
    -moz-box-shadow: #666 0px 0px 10px;
    box-shadow: #666 0px 0px 10px;
    cursor: pointer;
}
#kefu_link_form .input-group {
    margin-bottom: 8px;
}
#kefu_link_form .input-group:last-child {
    margin-bottom: 0;
}
.link_form_buttons {
    display: flex;
    justify-content: flex-end;
}
.link_form_buttons button {
    margin-left: 8px;
}
/*链接输入框end*/
.KeFu .modal-body .kefu-right .write {
    height: 100px;
    padding: 8px;
    display: block;
    margin: 0 auto;
    padding-left: 8px;
    border-top: 1px solid var(--light);
    box-sizing: border-box;
}
.KeFu .modal-body .kefu-right .chat .bubble {
    font-size: 16px;
    position: relative;
    display: inline-block;
    clear: both;
    margin-bottom: 8px;
    padding: 13px 14px;
    vertical-align: top;
    border-radius: 5px;
    max-width: 86%;
}
.KeFu .modal-body .kefu-right .chat .bubble.me .kefu_message_status {
    position: absolute;
    bottom: 0;
    left: -30px;
    color: var(--blue);
    font-size: 12px;
}
.KeFu .kf-text-grey {
    color: var(--grey1) !important;
}
.KeFu .kf-text-red {
    color: #e64340 !important;
}
.KeFu .chat .bubble .record_card {
    width: 400px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 8px 8px 8px 8px;
}
.KeFu .chat .bubble .record_card img {
    width: 90px;
    height: 90px;
    min-width: 90px;
}
.KeFu .chat .bubble .record_card .record_card_body {
    height: 90px;
    width: 100%;
    margin: 0 8px;
    cursor: pointer;
}
.KeFu .chat .bubble .record_card .record_card_title {
    font-size: 15px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 18px;
    height: 36px;
    color: #0d0d0d;
}
.KeFu .chat .bubble .record_card .record_card_note {
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 16px;
    height: 32px;
    color: #999999;
    margin-top: 3px;
}
.KeFu .chat .bubble .record_card .record_card_price span:last-child {
    margin-left: 10px;
    color: #999999;
    font-size: 14px;
}
.KeFu .chat .bubble .record_card .record_card_price span:first-child {
    margin-left: -3px;
    font-size: 18px;
    color: rgba(231, 76, 60, 1);
}
.kefu_menu_item a {
    cursor: pointer;
}
#kefu_menu .invitation, #kefu_menu .transfer {
    display: none;
}
.KeFu .modal-body .kefu-left .kefu_transfer_session, .KeFu .modal-body .kefu-left .kefu_edit_user_nickname {
    display: block;
    padding: 10px;
    padding-bottom: 0;
    border-bottom: 1px solid var(--grey2);
}
.KeFu .modal-body .kefu-left .transfer_session_buttons {
    padding-top: 8px;
    display: flex;
    justify-content: space-around;
}
.transfer_session_buttons #transfer_session_ok {
    background: var(--blue);
    border-color: var(--blue);
}

.KeFu .modal-body .kefu-left .panel-group {
    border-radius: 0;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    height: 552px;
}
.KeFu .modal-body .kefu-left .panel-group .panel {
    border-radius: 0;
}
.KeFu .modal-body .kefu-left .panel-info {
    border: none;
    border-radius: 0;
}
.KeFu .modal-body .kefu-left .panel-info > .panel-heading {
    color: var(--blue);
    background: #eceff1;
}
.KeFu .modal-body .kefu-left .panel-info > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #eceff1;
}
.KeFu .modal-body .kefu-left .panel-body {
    padding: 0;
}
.KeFu .modal-body .kefu-left .none_session {
    display: block;
    text-align: center;
    padding: 20px;
}
.KeFu .modal-body .kefu-left .panel-title .red_dot {
    float: right;
    display: none;
}

.KeFu .modal-body .kefu-right .chat .bubble:before {
    position: absolute;
    top: 19px;
    display: block;
    width: 8px;
    height: 6px;
    content: '\00a0';
    -webkit-transform: rotate(29deg) skew(-35deg);
    transform: rotate(29deg) skew(-35deg);
}
.KeFu .modal-body .kefu-right .chat .bubble.me {
    float: right;
    color: var(--white);
    background-color: var(--blue);
    align-self: flex-end;
}
.KeFu .modal-body .kefu-right .chat .bubble.me a {
    color: #F05050;
}
.KeFu .modal-body .kefu-right .chat .bubble.me:before {
    right: -3px;
    background-color: var(--blue);
}
.KeFu .modal-body .kefu-right .chat .bubble.you {
    float: left;
    color: var(--dark);
    background-color: #eceff1;
    align-self: flex-start;
}
.KeFu .modal-body .kefu-right .chat .bubble.you:before {
    left: -3px;
    background-color: #eceff1;
}
.KeFu .modal-body .input_status {
    position: relative;
}
.KeFu .modal-body #kefu_input_status {
    position: absolute;
    bottom: 0px;
    padding: 0 10px;
    font-size: 13px;
    color: var(--blue);
    line-height: 22px;
    width: 100%;
}
.KeFu .modal-body .kefu-right .write .write_top {
    padding-bottom: 8px;
}
.KeFu .modal-body .kefu-right .write .toolbar_icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    content: '';
    vertical-align: middle;
    cursor: pointer;
    margin-right: 6px;
}
.KeFu .modal-body .kefu-right .chat .bubble .emoji {
    width: 40px;
    height: 40px;
    padding: 2px;
}
.KeFu .modal-body .kefu-right .write .select_file {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    position: relative;
    margin-right: 6px;
    cursor: pointer;
}
.KeFu .modal-body .kefu-right .write #chatfile {
    filter: alpha(opacity=0);
    opacity: 0;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    z-index: 2;
}
.KeFu .modal-body .kefu-right .write .attach {
    position: absolute;
    z-index: 1;
}
.KeFu .modal-body .kefu-right .write .write_top_span {
    display: inline-block;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    margin-left: 10px;
    vertical-align: middle;
    color: #999;
}
.KeFu .modal-body .kefu-right .write .kefu_fast_reply {
    float: right;
    cursor: pointer;
}
.KeFu .modal-body .kefu-right .write pre {
    font-size: 16px;
    float: left;
    width: 100%;
    height: 60px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    padding-left: 2px;
    white-space: pre-wrap;
    word-break: normal;
    color: var(--dark);
    outline: none;
    background-color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}
.KeFu .modal-body .kefu-right .write #kefu_message .emoji {
    height: 20px;
    width: 20px;
}
.KeFu .modal-body .kefu-right .write #kefu_message .record {
    max-height: 60px;
}

.KeFu .modal-body .kefu-left .top {
    position: relative;
    width: 100%;
    height: 96px;
    padding: 29px 12px;
}

.KeFu .modal-body .kefu-left #kefu_search_input {
    float: left;
    width: 100%;
    height: 42px;
    padding: 0 15px;
    border: 1px solid var(--light);
    background-color: #eceff1;
    border-radius: 21px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}
.KeFu .modal-body .kefu-left #kefu_search_input:focus {
    outline: none;
}

.KeFu .modal-body .kefu-left .panel-group::-webkit-scrollbar, .search_users::-webkit-scrollbar {
    width: 4px;
}
.KeFu .modal-body .kefu-left .panel-group::-webkit-scrollbar-track, .search_users::-webkit-scrollbar-track {
    background-color: #fff;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
.KeFu .modal-body .kefu-left .panel-group::-webkit-scrollbar-thumb, .search_users::-webkit-scrollbar-thumb {
    background-color: #e6e6e6;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
.KeFu .modal-body .kefu-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.KeFu .modal-body .kefu-left .people .person {
    position: relative;
    width: 100%;
    padding: 12px 6% 16px;
    cursor: pointer;
    background-color: var(--white);
}
.KeFu .modal-body .kefu-left .people .person:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 80%;
    height: 1px;
    content: '';
    background-color: var(--light);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
.KeFu .modal-body .kefu-left .people .person img {
    float: left;
    width: 45px;
    height: 45px;
    margin-right: 12px;
    border-radius: 50%;
}
.KeFu .modal-body .kefu-left .people .person .person_head_gray {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}

.KeFu .modal-body .kefu-left .people .person .session_info_item {
    display: flex;
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    justify-content: space-between;
}
.KeFu .modal-body .kefu-left .people .person .session_info_item .preview .emoji {
    height: 20px;
    width: 20px;
}
.KeFu .modal-body .kefu-left .people .person .name {
    width: 60%;
    overflow: hidden;
    font-size: 14px;
    color: var(--dark);
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    display: inline-block;
}
.KeFu .modal-body .kefu-left .people .person .time {
    font-size: 14px;
    padding-top: 2px;
    color: var(--grey1);
    background-color: var(--white);
}
.KeFu .modal-body .kefu-left .people .person .preview {
    width: 80%;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--grey1);
}
.KeFu .modal-body .kefu-left .people .person .preview .session_user_status {
    margin-right: 2px;
}

.KeFu .modal-body .kefu-left .people .person .unread_msg_count {
    height: 17px;
    margin-top: 1.5px;
    padding: 0 5px;
    background: #f74c31;
    text-align: center;
    line-height: 17px;
    border-radius: 50%;
    color: var(--white);
}
.KeFu .modal-body .kefu-left .people .person .count_hide {
    display: none;
}
.KeFu .modal-body .kefu-left .people .person.active .unread_msg_count, .chat-container .kefu-left .people .person:hover .unread_msg_count {
    color: var(--white);
    background: #f74c31;
}
.KeFu .modal-body .kefu-left .people .person.active, .chat-container .kefu-left .people .person:hover {
    border: 0;
    background-color: var(--blue);
    width: 100%;
}
.KeFu .modal-body .kefu-left .people .person.active span, .chat-container .kefu-left .people .person:hover span {
    color: var(--white);
    background: transparent;
}
.KeFu .modal-body .kefu-left .people .person.active:after, .chat-container .kefu-left .people .person:hover:after {
    display: none;
}

/*搜索预选*/
.KeFu .modal-body .kefu-left .search_users {
    border-radius: 0;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    height: 552px;
    display: none;
}
.KeFu .modal-body .kefu-left .search_users :hover, .select_item {
    font-weight: bold;
}
.KeFu .modal-body .kefu-left .search_users .person {
    height: 40px;
    width: 100%;
    padding-left: 6%;
    cursor: pointer;
    margin-bottom: 10px;
    list-style: none;
}
.KeFu .modal-body .kefu-left .search_users .person img {
    height: 40px;
    width: 40px;
    float: left;
}

.KeFu .modal-body .kefu-left .search_users .person .session_info_item {
    display: flex;
    height: 24px;
    overflow: hidden;
    justify-content: space-between;
    white-space: nowrap;
}
.KeFu .modal-body .kefu-left .search_users .person .session_info_item .preview .emoji {
    height: 20px;
    width: 20px;
}
.KeFu .modal-body .kefu-left .search_users .person .name, .KeFu .modal-body .kefu-left .search_users .person .preview {
    width: 60%;
    overflow: hidden;
    font-size: 12px;
    color: var(--dark);
    font-family: 'Source Sans Pro', sans-serif;
    display: inline-block;
    margin-left: 10px;
}
.KeFu .modal-body .kefu-left .search_users .person .time {
    font-size: 12px;
    padding-top: 2px;
    margin-right: 10px;
    color: var(--grey1);
    background-color: var(--white);
}
@media screen and (max-width: 1000px) {
    .KeFu .modal-body .kefu-left {
        height: 550px;
        border: 1px solid var(--light);
        word-wrap: break-word;
        overflow: hidden;
    }
    .KeFu .modal-body .kefu-right {
        height: 550px;
        border: 1px solid var(--light);
        word-wrap: break-word;
        overflow: hidden;
        display: none;
    }
    .KeFu .chat .bubble .record_card {
        width: 100%;
    }
}

/*抖动动画-代码来源于:shake.css*/
@keyframes shake-horizontal {
    2% {
        transform: translate(-6px, 0) rotate(0);
    }
    4% {
        transform: translate(9px, 0) rotate(0);
    }
    6% {
        transform: translate(-6px, 0) rotate(0);
    }
    8% {
        transform: translate(-2px, 0) rotate(0);
    }
    10% {
        transform: translate(8px, 0) rotate(0);
    }
    12% {
        transform: translate(-6px, 0) rotate(0);
    }
    14% {
        transform: translate(0px, 0) rotate(0);
    }
    16% {
        transform: translate(-1px, 0) rotate(0);
    }
    18% {
        transform: translate(9px, 0) rotate(0);
    }
    20% {
        transform: translate(-4px, 0) rotate(0);
    }
    22% {
        transform: translate(-6px, 0) rotate(0);
    }
    24% {
        transform: translate(-5px, 0) rotate(0);
    }
    26% {
        transform: translate(-9px, 0) rotate(0);
    }
    28% {
        transform: translate(-4px, 0) rotate(0);
    }
    30% {
        transform: translate(2px, 0) rotate(0);
    }
    32% {
        transform: translate(0px, 0) rotate(0);
    }
    34% {
        transform: translate(0px, 0) rotate(0);
    }
    36% {
        transform: translate(1px, 0) rotate(0);
    }
    38% {
        transform: translate(-1px, 0) rotate(0);
    }
    40% {
        transform: translate(0px, 0) rotate(0);
    }
    42% {
        transform: translate(1px, 0) rotate(0);
    }
    44% {
        transform: translate(-8px, 0) rotate(0);
    }
    46% {
        transform: translate(-8px, 0) rotate(0);
    }
    48% {
        transform: translate(8px, 0) rotate(0);
    }
    50% {
        transform: translate(3px, 0) rotate(0);
    }
    52% {
        transform: translate(-4px, 0) rotate(0);
    }
    54% {
        transform: translate(3px, 0) rotate(0);
    }
    56% {
        transform: translate(-8px, 0) rotate(0);
    }
    58% {
        transform: translate(0px, 0) rotate(0);
    }
    60% {
        transform: translate(-9px, 0) rotate(0);
    }
    62% {
        transform: translate(-4px, 0) rotate(0);
    }
    64% {
        transform: translate(2px, 0) rotate(0);
    }
    66% {
        transform: translate(1px, 0) rotate(0);
    }
    68% {
        transform: translate(-7px, 0) rotate(0);
    }
    70% {
        transform: translate(-8px, 0) rotate(0);
    }
    72% {
        transform: translate(5px, 0) rotate(0);
    }
    74% {
        transform: translate(-7px, 0) rotate(0);
    }
    76% {
        transform: translate(6px, 0) rotate(0);
    }
    78% {
        transform: translate(-6px, 0) rotate(0);
    }
    80% {
        transform: translate(4px, 0) rotate(0);
    }
    82% {
        transform: translate(-8px, 0) rotate(0);
    }
    84% {
        transform: translate(-3px, 0) rotate(0);
    }
    86% {
        transform: translate(2px, 0) rotate(0);
    }
    88% {
        transform: translate(-1px, 0) rotate(0);
    }
    90% {
        transform: translate(1px, 0) rotate(0);
    }
    92% {
        transform: translate(-5px, 0) rotate(0);
    }
    94% {
        transform: translate(-8px, 0) rotate(0);
    }
    96% {
        transform: translate(0px, 0) rotate(0);
    }
    98% {
        transform: translate(-8px, 0) rotate(0);
    }
    0%, 100% {
        transform: translate(0, 0) rotate(0);
    }
}

.kefu-shake-horizontal {
    transform-origin: center center;
    animation-name: shake-horizontal;
    animation-duration: 100ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 4;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(13, 130, 255, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(13, 130, 255, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(13, 130, 255, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(13, 130, 255, 0.4);
        box-shadow: 0 0 0 0 rgba(13, 130, 255, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(13, 130, 255, 0);
        box-shadow: 0 0 0 10px rgba(13, 130, 255, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(13, 130, 255, 0);
        box-shadow: 0 0 0 0 rgba(13, 130, 255, 0);
    }
}